package com.itheima.paymentdemo.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 功能：mybatis-plus配置类 对Mapper包做扫描
 * 作者：大风
 * 日期：2024/9/14 14:33
 */
@Configuration
@MapperScan("com.itheima.paymentdemo.mapper")
@EnableTransactionManagement //启用事务管理
public class MyBatisPlusConfig {
}
